package car.aistar.entity;

import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:30:00
 */
public class User implements Serializable {
    private static final long serialVersionUID = 839594580768476229L;
    /**
     * 用户id
     */
    private Integer uId;
    /**
     * 用户名
     */
    private String uname;
    /**
     * 用户电话
     */
    private String phone;
    /**
     * 用户密码
     */
    private String pwd;

    public User() {
    }


    public User(String uname, String phone, String pwd) {
        this.uname = uname;
        this.phone = phone;
        this.pwd = pwd;
    }

    public Integer getUId() {
        return uId;
    }

    public void setUId(Integer uId) {
        this.uId = uId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("User{");
        sb.append("uId=").append(uId);
        sb.append(", uname='").append(uname).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", pwd='").append(pwd).append('\'');
        sb.append('}');
        return sb.toString();
    }
}